.logo {
    position: fixed;
    min-width: 5%;
    max-height: 15%;
    aspect-ratio: 2/1;/*跨设备固定盒子比例*/
    overflow: hidden;
    left: 2em;
    top: 1.5em;
    background-color: rgba(2255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 15%;
    z-index: 2;
}
.logo a{
    display: block;
    width: 100%;
    height: 100%;
}
.logo a img{
    display: block;
    width: 100%;
    height: 100%;
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}
.bgc {
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.bgc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
}

.bgc img.active {
    opacity: 1;
}

/* ======= 修复背景溢出 ======= */
#login-from {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 30%;
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
}

h1 {
    width: 90%;
    font-size: 3rem;
    color: white;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-align: center;
    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0s;
}

.input-warp {
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    height: 45px;
    width: 90%;
    border-radius: 50px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.596);
}

.input-warp input {
    width: 90%;
    background-color: transparent;
    font-size: 1rem;
    color: white;
    padding: 5px 25px;
}

input::placeholder {
    font-size: 1rem;
    color: white;
}

.input-warp i {
    padding-right: 25px;
}

.in1 {
    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.in2 {
    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.rem {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    margin-bottom: 25px;

    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 1.2s
}

.rem p,
.rem a {
    font-size: 1.2rem;
    color: white;
    ;
}

.other {
    width: 90%;
    height: 45px;
    margin-bottom: 40px;

    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 1.6s;
}

.other ul {
    width: 90%;
    height: 45px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
}

.other p {
    text-align: center;
    color: #fff;
    font-size: 1rem;
}

button {
    font-size: 1.2rem;
    height: 45px;
    width: 90%;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    cursor: pointer;
    /* transition: 0.3s; */

    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 2s;
}

.reg {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 25px;

    animation: reloadA 1s ease-out forwards;
    opacity: 0;
    animation-delay: 2.4s;
}

.reg a {
    font-weight: 600;
}

button:hover {
    background-color: rgb(221, 221, 221);
}

/* body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.229);
    z-index: -1;

} */

/* 飞入动画 */
@keyframes reloadA {
    from {
        transform: translateY(80px);
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}